package com.hzcx.app.simplechat.ui.mine.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.bean.UpLoadImgBean;
import com.hzcx.app.simplechat.ui.user.bean.CityListBean;
import com.hzcx.app.simplechat.ui.user.bean.UserInfoBean;

import java.util.List;

public interface EditUserInfoContract {

    interface View extends IView {
        void editSuccess();
        void upLoadResult(UpLoadImgBean data);
        void editFail();
        void cityListResult(List<CityListBean> data);
    }

    interface Presenter extends IPresenter<View> {
        void editUser(Context context,UserInfoBean bean);
        void upLoadHead(Activity activity,String path);
        void getCityList(Context context);
    }

}
